package com.example.administrator.yunniuusedcar.adapter;


import android.content.Context;
import android.widget.ImageView;

import com.example.administrator.yunniuusedcar.R;
import com.example.administrator.yunniuusedcar.adapter.baseadapter.BaseViewHolder;
import com.example.administrator.yunniuusedcar.adapter.baseadapter.SimpleAdapter;
import com.squareup.picasso.Picasso;

/**
 * Created by Administrator on 2018/1/2.
 */

public class ShopInfon_TWAdapter extends SimpleAdapter<String> {

    public ShopInfon_TWAdapter(Context context) {
        super(context, R.layout.fragment_tuweninfo);
    }

    @Override
    protected void convert(BaseViewHolder viewHoder, String item) {
        ImageView ivTuwenPicture1 = viewHoder.getImageView(R.id.iv_TuwenPicture1);
        Picasso.with(context).load(item).into(ivTuwenPicture1);
    }
}
